package cn.e3.cart.service;

import java.util.List;

import cn.e3.pojo.TbItem;
import cn.e3.utils.E3Result;

public interface AddCartToRedis {
	E3Result addCart(Long userId,Long itemId,Integer num);
	E3Result merge(Long userId,List<TbItem> list);
	List<TbItem> showCart(Long userId);
	E3Result changeNum(Long userId,Long itemId,int num);
	String delete(Long userId,Long itemId);
	E3Result cleanCart(Long userId);
}
